package book.serviceImpl;

import org.springframework.transaction.annotation.Transactional;

import book.dao.loginDAO;
import book.dto.manager;
import book.service.loginService;
@Transactional
public class loginServiceImpl implements loginService {
	
	private loginDAO loginDAO;
	

	public loginDAO getLoginDAO() {
		return loginDAO;
	}


	public void setLoginDAO(loginDAO loginDAO) {
		this.loginDAO = loginDAO;
	}


	public boolean login(manager manager) {
		return loginDAO.login(manager);
	}

}
